import Vue from 'vue'
import App from './App.vue'
import router from './router'
import commonFun from './utils/common'
import storage from './utils/storage'
import global from './utils/global'
import axios from './utils/axios'

// 全局消息
import Message from '@/components/message'
Vue.prototype.$Message = Message.install
// 基础布局
import layoutBase from './pages/layout/base'
Vue.component('layout-base', layoutBase)

Vue.config.productionTip = false
// 全局数据
Vue.prototype.$global = global
// 常用方法
Vue.prototype.$zp = commonFun
// 本地缓存
Vue.prototype.$storage = storage
// axios请求
Vue.prototype.$http = axios

new Vue({
  router,
	render: h => h(App)
}).$mount('#app')
